+2007-11-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
+ about hook setup. (#425004, Emmanuele Bassi)
+
2007-11-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
+2007-11-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/tmpl/gtkaboutdialog.sgml: Add note about hook setup
+ to the introduction.
+
2007-11-25 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkdialog.sgml: Move signal docs inline.
recognized by looking for <literal>http://url</literal>, with
<literal>url</literal> extending to the next space, tab or line break.
</para>
+<para id="gtk-about-dialog-hook-setup">
+When setting the website and email hooks for the #GtkAboutDialog widget,
+you should remember that the order is important: you should set the hook
+functions before setting the website and email URL properties, like this:
+</para>
+<informalexample><programlisting>
+gtk_about_dialog_set_url_hook (GTK_ABOUT_DIALOG (dialog), launch_url, NULL, NULL);
+gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (dialog), app_url);
+</programlisting></informalexample>
+<para>
+Otherwise the GtkAboutDialog widget will not display the website and the
+email addresses as clickable.
+</para>
<para>
To make constructing a #GtkAboutDialog as convenient as possible, you can
use the function gtk_show_about_dialog() which constructs and shows a dialog
*
* Sets the URL to use for the website link.
*
+ * Note that that the hook functions need to be set up
+ * before calling this function.
+ *
* Since: 2.6
**/
void